
# ifndef __DFX_TIMER_H__
# define __DFX_TIMER_H__

# include "dfxCore.h"
# include "dfxSingleton.h"

namespace DFX
{
    class DFX_EXPORT Timer : public Singleton<Timer> 
    {
    public:

        Timer()
        {
        }

        virtual ~Timer()
        {
        }

        virtual Float32 GetGameTime() const = 0;
        virtual Float32 GetDeltaTime() const = 0;

        virtual void Reset() = 0;
        virtual void Start() = 0;
        virtual void Stop() = 0;
        virtual void Tick() = 0;
    };
}

# endif